package org.example.service.impl;

import org.example.entity.Menu;
import org.example.mapper.MenuMapper;
import org.example.service.IMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-03-16
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {

    @Override
    public List<Menu> selectByRoleIds(Long... roleIds) {
        return getBaseMapper().selectByRoleIds(roleIds);
    }
}
